import { translate } from '@/utils/i18n'
export const weekList = [
  { value: '1', label: translate('z1') },
  { value: '2', label: translate('z2') },
  { value: '3', label: translate('z3') },
  { value: '4', label: translate('z4') },
  { value: '5', label: translate('z5') },
  { value: '6', label: translate('z6') },
  { value: '7', label: translate('z7') },
  { value: '8', label: translate('z8') }
]
export const rules = {
  marketingType: [
    { required: true, message: translate('policyTypeP'), tigger: 'change' }
  ],
  marketingName: [
    { required: true, message: translate('policyNameP'), tigger: 'blur' }
  ],
  fullDiscount: [
    { type: 'number', required: true, message: translate('qsrdyzk'), tigger: 'blur' }
  ],
  giveNum: [
    { required: true, message: translate('giveMoneyPlace'), tigger: 'blur' }
  ],
  discountNum: [
    { type: 'number', required: true, message: translate('manjianPlace'), tigger: 'blur' }
  ],
  isDouble: [
    { required: true, message: translate('qxzbsdj'), tigger: 'blur' }
  ],
  orderTypes: [
    { required: true, message: translate('orderTypePlace'), tigger: 'blur' }
  ],
  useTimes: [
    { required: true, message: translate('placeSelSaleSecTime'), trigger: 'change' }
  ]
}

